package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzeport.bgs22emduty.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_EXPORT_LOG")
@ApiModel(value = "下载导出日志表")
public class ExportLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "接口地址")
    @TableField(value = "REQ_PATH")
    @JsonProperty(value = "reqPath")
    private String reqPath;

    @ApiModelProperty(value = "操作类型:0.查询；1.导出；2.下载")
    @TableField(value = "OPERATE_TYPE")
    @JsonProperty(value = "operateType")
    private String operateType;

    @ApiModelProperty(value = "目标数据范围（查询条件）")
    @TableField(value = "DATA_RANGE")
    @JsonProperty(value = "dataRange")
    private String dataRange;

    @ApiModelProperty(value = "文件信息（文件名）")
    @TableField(value = "FILE_INFO")
    @JsonProperty(value = "fileInfo")
    private String fileInfo;

    @ApiModelProperty(value = "操作人工号")
    @TableField(value = "OPERATOR_CODE")
    @JsonProperty(value = "operatorCode")
    private String operatorCode;


}
